﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="productadd.aspx.cs" Inherits="John.viste_productadd"
    MasterPageFile="~/viste/MasterPage.master" %>
<%@ Register TagPrefix="uc1" TagName="lianxi" Src="lianxi.ascx" %>


<asp:Content ID="Content2" ContentPlaceHolderID="Content2" runat="server">
    <div align="center">
        <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#ffffff"
            align="center">
            <tr>
                <td width="100%" valign="top">
                    <table border="0" cellspacing="0" cellpadding="0" style="width: 126%">
                        <tr>
                            <td valign="top" align="left">
                                <table cellpadding='4' cellspacing='1' border='1' width="100%" class='grid fixed'>
                                    <tr>
                                        <td class='category' style="width: 52px">
                                            添加产品</td>
                                        <td class='category' style="width: 457px">
                                            带<font class='t2'>*</font>为必填</td>
                                    </tr>
                                    <tr>
                                        <td style="width: 52px">
                                            产品名称</td>
                                        <td style="width: 457px">
                                            <asp:TextBox ID="txtName" Width="150" runat="server"></asp:TextBox>
                                            <font class='t2'>*</font></td>
                                    </tr>
                                    <tr>
                                        <td style="width: 52px">
                                            所属类别</td>
                                        <td style="width: 457px">
                                            <asp:DropDownList ID="ddlCategory" runat="server">
                                            </asp:DropDownList>
                                            <font class='t2'>*</font></td>
                                    </tr>
                                    <tr>
                                        <td style="width: 52px">
                                            单价</td>
                                        <td style="width: 457px">
                                            <asp:TextBox ID="txtNPrice" Width="150" runat="server"></asp:TextBox>
                                            元<font class='t2'>*</font></td>
                                    </tr>
                                    <tr>
                                        <td>
                                            规格/型号</td>
                                        <td>
                                            <asp:TextBox ID="txtFPrice" Width="150" runat="server"></asp:TextBox>
                                            <font class='t2'>*</font></td>
                                    </tr>
                                    <tr>
                                        <td>
                                            库存</td>
                                        <td>
                                            <asp:TextBox ID="TextBox2" Width="150" runat="server"></asp:TextBox>
                                            <font class='t2'>*</font></td>
                                    </tr>
                                    <tr>
                                        <td valign="top" style="width: 52px">
                                            图片<br>
                                            <font class='t1'>(图片格式必须为.gif或.jpg,大小建议:200*128)</font>
                                        </td>
                                        <td style="width: 457px">
                                            <input id="uploadFile" onpropertychange="document.all.myimg.src='file:///'+this.value"
                                                size="40" type="file" runat="server" name="uploadFile"><br>
                                            <img id="myimg" src="..\images\showimg.gif" border="0" style="width: 136px; height: 123px">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td valign="top" style="width: 52px">
                                            产品介绍<br>
                                            (1000字以内)
                                        </td>
                                        <td style="width: 457px">
                                            <asp:TextBox ID="txtBewrite" runat="server" Width="400" TextMode="MultiLine" Rows="10"
                                                Columns="30"></asp:TextBox></td>
                                    </tr>
                                    <tr class='category'>
                                        <td class='category'>
                                            联系方式</td>
                                        <td class='category'>
                                            (直接显示在页面，如有错误请及时修正)
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                        </td>
                                        <td>
                                            <uc1:lianxi ID="left2" runat="server"></uc1:lianxi>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 52px">
                                        </td>
                                        <td style="width: 457px">
                                            <asp:Button ID="btnAdd" Text="添 加" runat="server" OnClick="btnAdd_Click"></asp:Button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                            <asp:Button ID="btnReset" Text="重 置" runat="server" OnClick="btnReset_Click"></asp:Button>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td width="763" height="35" align="center" class="baseline">
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
